package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import java.math.BigDecimal;
import javax.persistence.Table;

/**
 * 返费规则
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_sale_rebates_rules")
@Key(UUID = true)
public class SaleRebatesRulesDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 规则名称
     */
    private String rulesName;
    /**
     * 业务类型
     */
    private String subjectType;
    /**
     * 所属地区
     */
    private String region;
    /**
     * 新增返费比例
     */
    private BigDecimal newProportion;
    /**
     * 续约返费比例
     */
    private BigDecimal continueProportion;
    /**
     * 备注
     */
    private String remark;



}

